package com.fw.system.admin.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fw.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市战队字典对象 tb_city_code
 *
 * @author yanwei
 * @date 2023-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_city_code")
@ApiModel(value = "城市战队字典", description = "城市战队字典表")
public class TbCityCode implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}")
    @TableId("id")
    private String id;

    /**
     * 城市名称
     */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "城市名称")
    @TableField("city_name")
    private String cityName;

    /**
     * 城市图标
     */
    @ApiModelProperty(value = "城市名称")
    @Excel(name = "城市图标")
    @TableField("city_img")
    private String cityImg;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "城市图标")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("sort_code")
    private Integer sortCode;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}")
    @TableField("create_time")
    private Date createTime;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}")
    @TableField("update_time")
    private Date updateTime;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}")
    @TableField("create_by")
    private String createBy;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}")
    @TableField("update_by")
    private String updateBy;

    /**
     * 战队名称
     */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "战队名称")
    @TableField("nick_name")
    private String nickName;


}
